Developer Documentation

QuickTime 4 API Documentation

QuickTime 4 Reference

| Previous | Chapter Contents | Chapter Top | Next |

The Point Structure

The gxPoint structure is defined as follows:

struct gxPoint {
    Fixed   x;
    Fixed   y;
};

Field descriptions

x
A horizontal distance. Greater values of the x field indicate distances further to the right.

y
A vertical distance. Greater values of the y field indicate distances further down.

The location of the origin depends on the context where you use the point; for example, it might be the upper-left corner of a view port.

Notice that the x and y fields are of type Fixed . QuickDraw GX allows you to specify fractional coordinate positions.


© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |